package com.itheima.brand.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Brand;
import entity.Result;

import java.util.List;

public interface BrandService extends IService<Brand> {
    public Result findAll();

    Result add(Brand brand);

    Result findPage(Integer page, Integer size);

    Result findById(Integer id);

    Result updateBrand(Brand brand, Integer id);

    Result deleteBrand(Integer id);

    Result findPage2(Integer page, Integer size, Brand brand);
}

